package com.hzdl.cinema.dao;

import com.hzdl.cinema.domain.Play;
import com.hzdl.cinema.domain.Schedule;
import com.hzdl.cinema.domain.Seat;
import com.hzdl.cinema.domain.Studio;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public interface ScheduleDao {
    //影片计划
    Schedule schedule(String playName);

    Play findPlay(String playName);

    Studio findStudio(Integer studioId);

    Schedule findMySchedule(Integer scheduleId);

    List<Seat> searchSeat(String scheduleId);

    Studio searchStudio(String scheduleId);

    List<Schedule> seeSchedule();

    Studio seeStudio(String studioId);
	
	 List<Schedule> findAllSchedule();

    Schedule findScheduleById(int scheduleId);

    void modifyScheduleById(Integer scheduleId, Date startTime, BigDecimal schedulePrice);

    void deleteScheduleById(int scheduleId);

    void addSchedule(int playId, int studioId, Date startTime, BigDecimal schedulePrice);

    Schedule searchSchedule(int playId);
}
